package org.angelica.modules.account.form;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author aizhimin
 */
@Data
@Builder
public class AccPermissionUpdateForm {

    @NotNull
    private Long id;
    /**
     * 权限名称
     */
    @NotBlank
    private String permName;
    /**
     * 权限字符串编码：命名规则：mudule:menu:operation
     */
    @NotBlank
    private String permCode;
    /**
     * 优先级：越大越靠前
     */
    @NotNull
    private Integer priority;

}
